﻿CREATE TABLE [dbo].[AngajamentBugetarDetaliu] (
    [IDABDetaliu] INT             IDENTITY (1, 1) NOT NULL,
    [IDAB]        INT             NOT NULL,
    [IDJurnal]    INT             NOT NULL,
    [ArtAl]       VARCHAR (40)    NOT NULL,
    [Suma]        DECIMAL (18, 2) NOT NULL,
    [Clasif]      VARCHAR (100)   NULL,
    CONSTRAINT [PK_AngajamentBugetarDetaliu] PRIMARY KEY CLUSTERED ([IDABDetaliu] ASC),
    CONSTRAINT [FK_AngajamentBugetarDetaliu_AngajamentBugetar] FOREIGN KEY ([IDAB]) REFERENCES [dbo].[AngajamentBugetar] ([IDAB]),
    CONSTRAINT [FK_AngajamentBugetarDetaliu_Jurnale] FOREIGN KEY ([IDJurnal]) REFERENCES [dbo].[Jurnale] ([IDJurnal])
);

